<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
		<meta charset="utf-8">
		<title>淘天机站群系统管理后台</title>
		<!-- include header_meta -->
</head>
<body>
	<!-- include header -->
	<div class="cp-wrap {if $jnarrow}jnarrow{/if}">
		<div class="crumb">添加广告内容</div>
		<div class="cp-form">
			<div class="box">
				<form method="POST" class="AjaxPost">
					<div class="control-group">
						<label class="control-label" for="name">广告位标记：</label>
						<div class="controls">
							<input type="text" class="input-xlarge" name="abc" value="{$r[abc]}" style="width:250px;" readonly="readonly">
							<font color="red">调用方式：&lt;!-- tag::ad('{$r[abc]}') --&gt;</font>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="name">所属站点：</label>
						<div class="controls">
							<select name="ym_id" id="">
								<!-- foreach $allyuming $ym -->
								<!-- if !in_array($ym['id'], $hadadd) -->
								<option value="{$ym[id]}">{$ym[name]}</option>
								<!-- /if -->
								<!-- /foreach -->
							</select>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="name">广告内容：</label>
						<div class="controls">
							<textarea rows="6" style="width:450px;" name="content"></textarea>
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label" for="name">状态：</label>
						<div class="controls">
							<select name="status">
								<option value="1">启用</option>
								<option value="0">禁用</option>
							</select>
						</div>
					</div>
					<div class="form-actions" >
						<input type="hidden" name="pid" value="{$r[id]}">
						<input type="submit" class="btn" value="保存" />
						<input type="button" class="btn btn-link" value="返回" onclick="history.back(-1)"/>
					</div>
				</form>	
			</div>
		</div>
	</div>
	<!-- include footer -->
</body>
</html>